import { request } from "@/utils/service"
import type * as Types from "./types/type"

/** 获取壁纸分类 */
export function fetchTypeList(params) {
  return request<Types.TypeList>({
    url: "wallpaper/classify",
    method: "get",
    params
  })
}
// 上传组件，删除
export function deleteUploadFile(params) {
  return request<Types.File>({
    url: "wallpaper/upload/deleteFile",
    method: "get",
    params
  })
}
